<script setup lang="ts">
</script>

<template>
  <div class="consultation">
    <h1>法律咨询</h1>
    <div class="consultation-form">
      <h2>在线咨询</h2>
      <form>
        <div class="form-group">
          <label>咨询类型：</label>
          <select>
            <option>民事纠纷</option>
            <option>刑事案件</option>
            <option>商业法律</option>
            <option>劳动争议</option>
          </select>
        </div>
        <div class="form-group">
          <label>问题描述：</label>
          <textarea rows="4" placeholder="请详细描述您的法律问题..."></textarea>
        </div>
        <button type="submit">提交咨询</button>
      </form>
    </div>
  </div>
</template>

<style scoped>
.consultation {
  padding: 20px;
}

.consultation-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
}

select, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background-color: #2c3e50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #34495e;
}
</style>